<%if $users|@count gt 0%>
<%foreach from=$users item=user%>
<div class="figure hot-figure">
  <a class="a-to-tree" title="<%$user.name%>" href="/tree/index?userid=<%$user.id%>"><img alt="<%$user.name%>" src="<%$user.figure%>"/></a>
  <a class="a-to-home color2" colorattr="color" title="<%$user.name%>" href="/users/home?userid=<%$user.id%>"><%$user.name%></a>
</div>
<%/foreach%>
<%/if%>
